#! /usr/bin/python
# coding: utf-8

from Tkinter import *

root = Tk()

lb1 = Label(root, text='Hello')
lb2 = Label(root, text='Grid')

lb1.grid(row=0, column=0)
lb2.grid(row=0, column=0)

def forgetLabel():
    print root.grid_slaves(0,0)[0].grid_forget()

Button(root, text='forget last', command=forgetLabel).grid(row=1)

root.mainloop()
